package com.example.huhaichao.fmusic.utils;

import com.example.huhaichao.fmusic.model.MusicModel;

import java.util.ArrayList;

/**
 * Created by huhaichao on 2017/10/12.
 * 获取音乐列表
 */

public class MusicList {
    private static ArrayList<MusicModel> musicList=new ArrayList<>();

    private MusicList() {
    }

    public static ArrayList<MusicModel> getMusicList(){
        return musicList;
    }

    //添加单个music
    public static void addMusicList(MusicModel musicModel){
        musicList.add(musicModel);
    }
}
